package com.igeekhome.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MonCenterMonitoringExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MonCenterMonitoringExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSerialIdIsNull() {
            addCriterion("serial_id is null");
            return (Criteria) this;
        }

        public Criteria andSerialIdIsNotNull() {
            addCriterion("serial_id is not null");
            return (Criteria) this;
        }

        public Criteria andSerialIdEqualTo(Integer value) {
            addCriterion("serial_id =", value, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdNotEqualTo(Integer value) {
            addCriterion("serial_id <>", value, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdGreaterThan(Integer value) {
            addCriterion("serial_id >", value, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("serial_id >=", value, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdLessThan(Integer value) {
            addCriterion("serial_id <", value, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdLessThanOrEqualTo(Integer value) {
            addCriterion("serial_id <=", value, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdIn(List<Integer> values) {
            addCriterion("serial_id in", values, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdNotIn(List<Integer> values) {
            addCriterion("serial_id not in", values, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdBetween(Integer value1, Integer value2) {
            addCriterion("serial_id between", value1, value2, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdNotBetween(Integer value1, Integer value2) {
            addCriterion("serial_id not between", value1, value2, "serialId");
            return (Criteria) this;
        }

        public Criteria andDistributionCenterIsNull() {
            addCriterion("distribution_center is null");
            return (Criteria) this;
        }

        public Criteria andDistributionCenterIsNotNull() {
            addCriterion("distribution_center is not null");
            return (Criteria) this;
        }

        public Criteria andDistributionCenterEqualTo(String value) {
            addCriterion("distribution_center =", value, "distributionCenter");
            return (Criteria) this;
        }

        public Criteria andDistributionCenterNotEqualTo(String value) {
            addCriterion("distribution_center <>", value, "distributionCenter");
            return (Criteria) this;
        }

        public Criteria andDistributionCenterGreaterThan(String value) {
            addCriterion("distribution_center >", value, "distributionCenter");
            return (Criteria) this;
        }

        public Criteria andDistributionCenterGreaterThanOrEqualTo(String value) {
            addCriterion("distribution_center >=", value, "distributionCenter");
            return (Criteria) this;
        }

        public Criteria andDistributionCenterLessThan(String value) {
            addCriterion("distribution_center <", value, "distributionCenter");
            return (Criteria) this;
        }

        public Criteria andDistributionCenterLessThanOrEqualTo(String value) {
            addCriterion("distribution_center <=", value, "distributionCenter");
            return (Criteria) this;
        }

        public Criteria andDistributionCenterLike(String value) {
            addCriterion("distribution_center like", value, "distributionCenter");
            return (Criteria) this;
        }

        public Criteria andDistributionCenterNotLike(String value) {
            addCriterion("distribution_center not like", value, "distributionCenter");
            return (Criteria) this;
        }

        public Criteria andDistributionCenterIn(List<String> values) {
            addCriterion("distribution_center in", values, "distributionCenter");
            return (Criteria) this;
        }

        public Criteria andDistributionCenterNotIn(List<String> values) {
            addCriterion("distribution_center not in", values, "distributionCenter");
            return (Criteria) this;
        }

        public Criteria andDistributionCenterBetween(String value1, String value2) {
            addCriterion("distribution_center between", value1, value2, "distributionCenter");
            return (Criteria) this;
        }

        public Criteria andDistributionCenterNotBetween(String value1, String value2) {
            addCriterion("distribution_center not between", value1, value2, "distributionCenter");
            return (Criteria) this;
        }

        public Criteria andLastStopIdIsNull() {
            addCriterion("last_stop_id is null");
            return (Criteria) this;
        }

        public Criteria andLastStopIdIsNotNull() {
            addCriterion("last_stop_id is not null");
            return (Criteria) this;
        }

        public Criteria andLastStopIdEqualTo(Integer value) {
            addCriterion("last_stop_id =", value, "lastStopId");
            return (Criteria) this;
        }

        public Criteria andLastStopIdNotEqualTo(Integer value) {
            addCriterion("last_stop_id <>", value, "lastStopId");
            return (Criteria) this;
        }

        public Criteria andLastStopIdGreaterThan(Integer value) {
            addCriterion("last_stop_id >", value, "lastStopId");
            return (Criteria) this;
        }

        public Criteria andLastStopIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("last_stop_id >=", value, "lastStopId");
            return (Criteria) this;
        }

        public Criteria andLastStopIdLessThan(Integer value) {
            addCriterion("last_stop_id <", value, "lastStopId");
            return (Criteria) this;
        }

        public Criteria andLastStopIdLessThanOrEqualTo(Integer value) {
            addCriterion("last_stop_id <=", value, "lastStopId");
            return (Criteria) this;
        }

        public Criteria andLastStopIdIn(List<Integer> values) {
            addCriterion("last_stop_id in", values, "lastStopId");
            return (Criteria) this;
        }

        public Criteria andLastStopIdNotIn(List<Integer> values) {
            addCriterion("last_stop_id not in", values, "lastStopId");
            return (Criteria) this;
        }

        public Criteria andLastStopIdBetween(Integer value1, Integer value2) {
            addCriterion("last_stop_id between", value1, value2, "lastStopId");
            return (Criteria) this;
        }

        public Criteria andLastStopIdNotBetween(Integer value1, Integer value2) {
            addCriterion("last_stop_id not between", value1, value2, "lastStopId");
            return (Criteria) this;
        }

        public Criteria andAllVotesIsNull() {
            addCriterion("all_votes is null");
            return (Criteria) this;
        }

        public Criteria andAllVotesIsNotNull() {
            addCriterion("all_votes is not null");
            return (Criteria) this;
        }

        public Criteria andAllVotesEqualTo(Integer value) {
            addCriterion("all_votes =", value, "allVotes");
            return (Criteria) this;
        }

        public Criteria andAllVotesNotEqualTo(Integer value) {
            addCriterion("all_votes <>", value, "allVotes");
            return (Criteria) this;
        }

        public Criteria andAllVotesGreaterThan(Integer value) {
            addCriterion("all_votes >", value, "allVotes");
            return (Criteria) this;
        }

        public Criteria andAllVotesGreaterThanOrEqualTo(Integer value) {
            addCriterion("all_votes >=", value, "allVotes");
            return (Criteria) this;
        }

        public Criteria andAllVotesLessThan(Integer value) {
            addCriterion("all_votes <", value, "allVotes");
            return (Criteria) this;
        }

        public Criteria andAllVotesLessThanOrEqualTo(Integer value) {
            addCriterion("all_votes <=", value, "allVotes");
            return (Criteria) this;
        }

        public Criteria andAllVotesIn(List<Integer> values) {
            addCriterion("all_votes in", values, "allVotes");
            return (Criteria) this;
        }

        public Criteria andAllVotesNotIn(List<Integer> values) {
            addCriterion("all_votes not in", values, "allVotes");
            return (Criteria) this;
        }

        public Criteria andAllVotesBetween(Integer value1, Integer value2) {
            addCriterion("all_votes between", value1, value2, "allVotes");
            return (Criteria) this;
        }

        public Criteria andAllVotesNotBetween(Integer value1, Integer value2) {
            addCriterion("all_votes not between", value1, value2, "allVotes");
            return (Criteria) this;
        }

        public Criteria andUnissuedPartsVotiesIsNull() {
            addCriterion("unissued_parts_voties is null");
            return (Criteria) this;
        }

        public Criteria andUnissuedPartsVotiesIsNotNull() {
            addCriterion("unissued_parts_voties is not null");
            return (Criteria) this;
        }

        public Criteria andUnissuedPartsVotiesEqualTo(Integer value) {
            addCriterion("unissued_parts_voties =", value, "unissuedPartsVoties");
            return (Criteria) this;
        }

        public Criteria andUnissuedPartsVotiesNotEqualTo(Integer value) {
            addCriterion("unissued_parts_voties <>", value, "unissuedPartsVoties");
            return (Criteria) this;
        }

        public Criteria andUnissuedPartsVotiesGreaterThan(Integer value) {
            addCriterion("unissued_parts_voties >", value, "unissuedPartsVoties");
            return (Criteria) this;
        }

        public Criteria andUnissuedPartsVotiesGreaterThanOrEqualTo(Integer value) {
            addCriterion("unissued_parts_voties >=", value, "unissuedPartsVoties");
            return (Criteria) this;
        }

        public Criteria andUnissuedPartsVotiesLessThan(Integer value) {
            addCriterion("unissued_parts_voties <", value, "unissuedPartsVoties");
            return (Criteria) this;
        }

        public Criteria andUnissuedPartsVotiesLessThanOrEqualTo(Integer value) {
            addCriterion("unissued_parts_voties <=", value, "unissuedPartsVoties");
            return (Criteria) this;
        }

        public Criteria andUnissuedPartsVotiesIn(List<Integer> values) {
            addCriterion("unissued_parts_voties in", values, "unissuedPartsVoties");
            return (Criteria) this;
        }

        public Criteria andUnissuedPartsVotiesNotIn(List<Integer> values) {
            addCriterion("unissued_parts_voties not in", values, "unissuedPartsVoties");
            return (Criteria) this;
        }

        public Criteria andUnissuedPartsVotiesBetween(Integer value1, Integer value2) {
            addCriterion("unissued_parts_voties between", value1, value2, "unissuedPartsVoties");
            return (Criteria) this;
        }

        public Criteria andUnissuedPartsVotiesNotBetween(Integer value1, Integer value2) {
            addCriterion("unissued_parts_voties not between", value1, value2, "unissuedPartsVoties");
            return (Criteria) this;
        }

        public Criteria andToPiecesVotiesIsNull() {
            addCriterion("to_pieces_voties is null");
            return (Criteria) this;
        }

        public Criteria andToPiecesVotiesIsNotNull() {
            addCriterion("to_pieces_voties is not null");
            return (Criteria) this;
        }

        public Criteria andToPiecesVotiesEqualTo(Integer value) {
            addCriterion("to_pieces_voties =", value, "toPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andToPiecesVotiesNotEqualTo(Integer value) {
            addCriterion("to_pieces_voties <>", value, "toPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andToPiecesVotiesGreaterThan(Integer value) {
            addCriterion("to_pieces_voties >", value, "toPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andToPiecesVotiesGreaterThanOrEqualTo(Integer value) {
            addCriterion("to_pieces_voties >=", value, "toPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andToPiecesVotiesLessThan(Integer value) {
            addCriterion("to_pieces_voties <", value, "toPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andToPiecesVotiesLessThanOrEqualTo(Integer value) {
            addCriterion("to_pieces_voties <=", value, "toPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andToPiecesVotiesIn(List<Integer> values) {
            addCriterion("to_pieces_voties in", values, "toPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andToPiecesVotiesNotIn(List<Integer> values) {
            addCriterion("to_pieces_voties not in", values, "toPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andToPiecesVotiesBetween(Integer value1, Integer value2) {
            addCriterion("to_pieces_voties between", value1, value2, "toPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andToPiecesVotiesNotBetween(Integer value1, Integer value2) {
            addCriterion("to_pieces_voties not between", value1, value2, "toPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andSendPiecesVotiesIsNull() {
            addCriterion("send_pieces_voties is null");
            return (Criteria) this;
        }

        public Criteria andSendPiecesVotiesIsNotNull() {
            addCriterion("send_pieces_voties is not null");
            return (Criteria) this;
        }

        public Criteria andSendPiecesVotiesEqualTo(Integer value) {
            addCriterion("send_pieces_voties =", value, "sendPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andSendPiecesVotiesNotEqualTo(Integer value) {
            addCriterion("send_pieces_voties <>", value, "sendPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andSendPiecesVotiesGreaterThan(Integer value) {
            addCriterion("send_pieces_voties >", value, "sendPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andSendPiecesVotiesGreaterThanOrEqualTo(Integer value) {
            addCriterion("send_pieces_voties >=", value, "sendPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andSendPiecesVotiesLessThan(Integer value) {
            addCriterion("send_pieces_voties <", value, "sendPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andSendPiecesVotiesLessThanOrEqualTo(Integer value) {
            addCriterion("send_pieces_voties <=", value, "sendPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andSendPiecesVotiesIn(List<Integer> values) {
            addCriterion("send_pieces_voties in", values, "sendPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andSendPiecesVotiesNotIn(List<Integer> values) {
            addCriterion("send_pieces_voties not in", values, "sendPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andSendPiecesVotiesBetween(Integer value1, Integer value2) {
            addCriterion("send_pieces_voties between", value1, value2, "sendPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andSendPiecesVotiesNotBetween(Integer value1, Integer value2) {
            addCriterion("send_pieces_voties not between", value1, value2, "sendPiecesVoties");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageVotiesIsNull() {
            addCriterion("remain_in_storage_voties is null");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageVotiesIsNotNull() {
            addCriterion("remain_in_storage_voties is not null");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageVotiesEqualTo(Integer value) {
            addCriterion("remain_in_storage_voties =", value, "remainInStorageVoties");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageVotiesNotEqualTo(Integer value) {
            addCriterion("remain_in_storage_voties <>", value, "remainInStorageVoties");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageVotiesGreaterThan(Integer value) {
            addCriterion("remain_in_storage_voties >", value, "remainInStorageVoties");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageVotiesGreaterThanOrEqualTo(Integer value) {
            addCriterion("remain_in_storage_voties >=", value, "remainInStorageVoties");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageVotiesLessThan(Integer value) {
            addCriterion("remain_in_storage_voties <", value, "remainInStorageVoties");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageVotiesLessThanOrEqualTo(Integer value) {
            addCriterion("remain_in_storage_voties <=", value, "remainInStorageVoties");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageVotiesIn(List<Integer> values) {
            addCriterion("remain_in_storage_voties in", values, "remainInStorageVoties");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageVotiesNotIn(List<Integer> values) {
            addCriterion("remain_in_storage_voties not in", values, "remainInStorageVoties");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageVotiesBetween(Integer value1, Integer value2) {
            addCriterion("remain_in_storage_voties between", value1, value2, "remainInStorageVoties");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageVotiesNotBetween(Integer value1, Integer value2) {
            addCriterion("remain_in_storage_voties not between", value1, value2, "remainInStorageVoties");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageProbabilityIsNull() {
            addCriterion("remain_in_storage_probability is null");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageProbabilityIsNotNull() {
            addCriterion("remain_in_storage_probability is not null");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageProbabilityEqualTo(BigDecimal value) {
            addCriterion("remain_in_storage_probability =", value, "remainInStorageProbability");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageProbabilityNotEqualTo(BigDecimal value) {
            addCriterion("remain_in_storage_probability <>", value, "remainInStorageProbability");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageProbabilityGreaterThan(BigDecimal value) {
            addCriterion("remain_in_storage_probability >", value, "remainInStorageProbability");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageProbabilityGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("remain_in_storage_probability >=", value, "remainInStorageProbability");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageProbabilityLessThan(BigDecimal value) {
            addCriterion("remain_in_storage_probability <", value, "remainInStorageProbability");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageProbabilityLessThanOrEqualTo(BigDecimal value) {
            addCriterion("remain_in_storage_probability <=", value, "remainInStorageProbability");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageProbabilityIn(List<BigDecimal> values) {
            addCriterion("remain_in_storage_probability in", values, "remainInStorageProbability");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageProbabilityNotIn(List<BigDecimal> values) {
            addCriterion("remain_in_storage_probability not in", values, "remainInStorageProbability");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageProbabilityBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("remain_in_storage_probability between", value1, value2, "remainInStorageProbability");
            return (Criteria) this;
        }

        public Criteria andRemainInStorageProbabilityNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("remain_in_storage_probability not between", value1, value2, "remainInStorageProbability");
            return (Criteria) this;
        }

        public Criteria andLeakScanningVotiesIsNull() {
            addCriterion("leak_scanning_voties is null");
            return (Criteria) this;
        }

        public Criteria andLeakScanningVotiesIsNotNull() {
            addCriterion("leak_scanning_voties is not null");
            return (Criteria) this;
        }

        public Criteria andLeakScanningVotiesEqualTo(Integer value) {
            addCriterion("leak_scanning_voties =", value, "leakScanningVoties");
            return (Criteria) this;
        }

        public Criteria andLeakScanningVotiesNotEqualTo(Integer value) {
            addCriterion("leak_scanning_voties <>", value, "leakScanningVoties");
            return (Criteria) this;
        }

        public Criteria andLeakScanningVotiesGreaterThan(Integer value) {
            addCriterion("leak_scanning_voties >", value, "leakScanningVoties");
            return (Criteria) this;
        }

        public Criteria andLeakScanningVotiesGreaterThanOrEqualTo(Integer value) {
            addCriterion("leak_scanning_voties >=", value, "leakScanningVoties");
            return (Criteria) this;
        }

        public Criteria andLeakScanningVotiesLessThan(Integer value) {
            addCriterion("leak_scanning_voties <", value, "leakScanningVoties");
            return (Criteria) this;
        }

        public Criteria andLeakScanningVotiesLessThanOrEqualTo(Integer value) {
            addCriterion("leak_scanning_voties <=", value, "leakScanningVoties");
            return (Criteria) this;
        }

        public Criteria andLeakScanningVotiesIn(List<Integer> values) {
            addCriterion("leak_scanning_voties in", values, "leakScanningVoties");
            return (Criteria) this;
        }

        public Criteria andLeakScanningVotiesNotIn(List<Integer> values) {
            addCriterion("leak_scanning_voties not in", values, "leakScanningVoties");
            return (Criteria) this;
        }

        public Criteria andLeakScanningVotiesBetween(Integer value1, Integer value2) {
            addCriterion("leak_scanning_voties between", value1, value2, "leakScanningVoties");
            return (Criteria) this;
        }

        public Criteria andLeakScanningVotiesNotBetween(Integer value1, Integer value2) {
            addCriterion("leak_scanning_voties not between", value1, value2, "leakScanningVoties");
            return (Criteria) this;
        }

        public Criteria andLeakScanningProbabilityIsNull() {
            addCriterion("leak_scanning_probability is null");
            return (Criteria) this;
        }

        public Criteria andLeakScanningProbabilityIsNotNull() {
            addCriterion("leak_scanning_probability is not null");
            return (Criteria) this;
        }

        public Criteria andLeakScanningProbabilityEqualTo(BigDecimal value) {
            addCriterion("leak_scanning_probability =", value, "leakScanningProbability");
            return (Criteria) this;
        }

        public Criteria andLeakScanningProbabilityNotEqualTo(BigDecimal value) {
            addCriterion("leak_scanning_probability <>", value, "leakScanningProbability");
            return (Criteria) this;
        }

        public Criteria andLeakScanningProbabilityGreaterThan(BigDecimal value) {
            addCriterion("leak_scanning_probability >", value, "leakScanningProbability");
            return (Criteria) this;
        }

        public Criteria andLeakScanningProbabilityGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("leak_scanning_probability >=", value, "leakScanningProbability");
            return (Criteria) this;
        }

        public Criteria andLeakScanningProbabilityLessThan(BigDecimal value) {
            addCriterion("leak_scanning_probability <", value, "leakScanningProbability");
            return (Criteria) this;
        }

        public Criteria andLeakScanningProbabilityLessThanOrEqualTo(BigDecimal value) {
            addCriterion("leak_scanning_probability <=", value, "leakScanningProbability");
            return (Criteria) this;
        }

        public Criteria andLeakScanningProbabilityIn(List<BigDecimal> values) {
            addCriterion("leak_scanning_probability in", values, "leakScanningProbability");
            return (Criteria) this;
        }

        public Criteria andLeakScanningProbabilityNotIn(List<BigDecimal> values) {
            addCriterion("leak_scanning_probability not in", values, "leakScanningProbability");
            return (Criteria) this;
        }

        public Criteria andLeakScanningProbabilityBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("leak_scanning_probability between", value1, value2, "leakScanningProbability");
            return (Criteria) this;
        }

        public Criteria andLeakScanningProbabilityNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("leak_scanning_probability not between", value1, value2, "leakScanningProbability");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeIsNull() {
            addCriterion("create_datetime is null");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeIsNotNull() {
            addCriterion("create_datetime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeEqualTo(Date value) {
            addCriterion("create_datetime =", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeNotEqualTo(Date value) {
            addCriterion("create_datetime <>", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeGreaterThan(Date value) {
            addCriterion("create_datetime >", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_datetime >=", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeLessThan(Date value) {
            addCriterion("create_datetime <", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeLessThanOrEqualTo(Date value) {
            addCriterion("create_datetime <=", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeIn(List<Date> values) {
            addCriterion("create_datetime in", values, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeNotIn(List<Date> values) {
            addCriterion("create_datetime not in", values, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeBetween(Date value1, Date value2) {
            addCriterion("create_datetime between", value1, value2, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeNotBetween(Date value1, Date value2) {
            addCriterion("create_datetime not between", value1, value2, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeIsNull() {
            addCriterion("update_datetime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeIsNotNull() {
            addCriterion("update_datetime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeEqualTo(Date value) {
            addCriterion("update_datetime =", value, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeNotEqualTo(Date value) {
            addCriterion("update_datetime <>", value, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeGreaterThan(Date value) {
            addCriterion("update_datetime >", value, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_datetime >=", value, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeLessThan(Date value) {
            addCriterion("update_datetime <", value, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeLessThanOrEqualTo(Date value) {
            addCriterion("update_datetime <=", value, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeIn(List<Date> values) {
            addCriterion("update_datetime in", values, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeNotIn(List<Date> values) {
            addCriterion("update_datetime not in", values, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeBetween(Date value1, Date value2) {
            addCriterion("update_datetime between", value1, value2, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeNotBetween(Date value1, Date value2) {
            addCriterion("update_datetime not between", value1, value2, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}